package top.majuan.study.study.entity;

import java.io.Serializable;
import java.util.Date;

public class TbEmployee implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer dept_id;
    private String username;
    private String sex;
    private Long salary;
    private Date create_time;
    private TbDept dept;

    @Override
    public String toString() {
        return "TbEmployee{" +
                "id=" + id +
                ", dept_id=" + dept_id +
                ", username='" + username + '\'' +
                ", sex='" + sex + '\'' +
                ", salary=" + salary +
                ", create_time=" + create_time +
                '}';
    }

    public TbDept getDept() {
        return dept;
    }

    public void setDept(TbDept dept) {
        this.dept = dept;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDept_id() {
        return dept_id;
    }

    public void setDept_id(Integer dept_id) {
        this.dept_id = dept_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Long getSalary() {
        return salary;
    }

    public void setSalary(Long salary) {
        this.salary = salary;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
}
